package com.jyh.blog.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;
/**
 * (FriendLink)实体类
 *
 * @author jyh
 * @since 2023-02-14 19:58:24
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class FriendLink implements Serializable {
    private static final long serialVersionUID = 699779918311106587L;
    @TableId(value = "id" ,type= IdType.ASSIGN_ID)
    private String id;
    /**
     * 链接名
     */
    private String name;
    /**
     * 链接头像
     */
    private String avatar;
    /**
     * 链接地址
     */
    private String address;
    /**
     * 链接介绍
     */
    private String intro;
    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.UPDATE)
    private LocalDateTime updateTime;

    /**
     * 审核：0未通过 1通过
     */
    private Integer status;


}

